package com.nuit.cxl;


import java.lang.annotation.Target;
import java.util.ArrayList;
import java.util.List;

@MyAnnotation(name = "zhangsan")
public class Main {

    @MyAnnotation(name = "lisi")
    String name;

    @MyAnnotationTest2("lisi")
    public static void main(String[] args) {

        System.out.println("Hello world!");
        //alt + ins

        Main m = new Main();
        m.test();
    }


    @Override
    public String toString() {
        return "Main{}";
    }

    @SuppressWarnings("all")
    @Deprecated
    public void test(){
        System.out.println("已弃用");
    }

    @SuppressWarnings("all")
    public void test2(){
        //alt + enter
        List<String> list = new ArrayList<>();
    }

    public void test3(){

    }
}